package com.sp.model;

import java.sql.Date;

public class NewsBean {
	private int id;
	private String title;
	private int tid;
	private String uname;
	private String content;
	private String picture;
	private Date addTime;
	private Date updateTime;
	private int inhome;	
	private int isvouch;
	private int istop;
	@Override
	public String toString() {
		return "NewsBean [id=" + id + ", title=" + title + ", tid=" + tid
				+ ", uname=" + uname + ", content=" + content + ", picture="
				+ picture + ", addTime=" + addTime + ", updateTime="
				+ updateTime + ", inhome=" + inhome + ", isvouch=" + isvouch
				+ ", istop=" + istop + "]";
	}
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public int getInhome() {
		return inhome;
	}
	public void setInhome(int inhome) {
		this.inhome = inhome;
	}
	public int getIsvouch() {
		return isvouch;
	}
	public void setIsvouch(int isvouch) {
		this.isvouch = isvouch;
	}
	public int getIstop() {
		return istop;
	}
	public void setIstop(int istop) {
		this.istop = istop;
	}
	

}
